package cn.stylefeng.guns.modular.hx.storage.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.hx.storage.entity.HxErrorPick;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxErrorPickParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxErrorPickResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 错漏拣 服务类
 * </p>
 *
 * @author lww
 * @since 2023-11-04
 */
public interface HxErrorPickService extends IService<HxErrorPick> {

    /**
     * 新增
     *
     * @author lww
     * @Date 2023-11-04
     */
    void add(HxErrorPickParam param);

    /**
     * 删除
     *
     * @author lww
     * @Date 2023-11-04
     */
    void delete(HxErrorPickParam param);

    /**
     * 更新
     *
     * @author lww
     * @Date 2023-11-04
     */
    void update(HxErrorPickParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author lww
     * @Date 2023-11-04
     */
    HxErrorPickResult findBySpec(HxErrorPickParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author lww
     * @Date 2023-11-04
     */
    List<HxErrorPickResult> findListBySpec(HxErrorPickParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author lww
     * @Date 2023-11-04
     */
     LayuiPageInfo findPageBySpec(HxErrorPickParam param, String condition);


    LayuiPageInfo findPageBySpec1(HxErrorPickParam param, String condition);

    LayuiPageInfo findAppDaichuliPageBySpec(HxErrorPickParam hxErrorPickParam);

    HxErrorPickResult checkyw(HxErrorPickParam checkyw);
}
